public class PLPatternRandom extends PLPattern {	
	public PLPatternRandom() {
		super("Random");
	}
		
	// the resulting float value reflects the confidence in response, 
	// if the response perfectly satisfies the pattern, 1 is returned, values less than 1 reflect 
	// decrease in confidence in the response.
	// if the confidence is too low, the pattern also returns a new shape that better fits the pattern.
	public float ValidateResponse(PLShape query, PLShape response, PLOutShape  outBetterMatch) {
		return (float)(Math.random());
	}	
}
